//
//  MyGArtCell.m
//  jingdongfang
//
//  Created by MTiMac02 on 2018/5/9.
//  Copyright © 2018年 BOE-SBG-CTO. All rights reserved.
//

#import "MyGArtCell.h"
#import "MyFocusMemberModel.h"
@interface MyGArtCell()
@property (strong, nonatomic) IBOutlet UIImageView *focusImage;
@property (strong, nonatomic) IBOutlet UILabel *title;
@property (strong, nonatomic) IBOutlet UILabel *artNum;
@property (strong, nonatomic) IBOutlet UILabel *fansNum;
@end
@implementation MyGArtCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
  
}
-(void)layoutSubviews{
    MyFocusMemberModel *info=self.data;
    [self.focusImage sd_setImageWithURL:[NSURL URLWithString:info.image] placeholderImage:[UIImage imageNamed:@"mylike"]];
    self.title.text=info.nike;
    self.artNum.text=[NSString stringWithFormat:@"作品%@",info.worksNum];
    self.fansNum.text=[NSString stringWithFormat:@"粉丝%@",info.followNums];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
